package com.car.loan.project.xr.mapper;

import com.car.loan.project.xr.domain.CustomerGuarantor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.car.loan.project.xr.domain.LoanDetail;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 担保人Mapper接口
 *
 * @author ruoyi
 * @date 2019-11-03
 */
@Repository
public interface CustomerGuarantorMapper extends BaseMapper<CustomerGuarantor> {

    @Select("select * from xr_customer_guarantor where loan_id =#{loanId}")
    List<CustomerGuarantor> selectListByLoanId(@Param("loanId") long loanId);
}
